package indi.zhifa.study2024.class002.busy.generalTest.business.report.consign.entity.response;

import indi.zhifa.study2024.class002.busy.generalTest.business.report.consign.entity.mapperOut.ConsignMapperOut;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class ConsignGroupByCustomerAndItemReportResponse extends ConsignGroupByItemReportResponse {
    @Schema(title = "门店Id")
    Long customerId;
    @Schema(title = "门店名称")
    String customerName;


    protected void onInitWithMapperOut(ConsignMapperOut pConsignMapperOut) {
        super.onInitWithMapperOut(pConsignMapperOut);
        customerId = pConsignMapperOut.getCustomerId();
        customerName = pConsignMapperOut.getCustomerName();
    }

}
